<?php

/**
 * admin_permission module helper.
 *
 * @package    docplus.co.za
 * @subpackage admin_permission
 * @author     Fox Matuku
 * @version    SVN: $Id: helper.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class admin_permissionGeneratorHelper extends BaseAdmin_permissionGeneratorHelper
{
	public function linkToCancel($object, $params) {
		return '<input type="button" value="' . __($params['label'], array(), 'sf_admin') . '" onclick="doCancel(\'/admin_permission\'); return false;" class="blue-button-30" id="cancel">';
	}

	public function linkToDone($object, $params) {
		return '<input type="button" value="' . __($params['label'], array(), 'sf_admin') . '" onclick="doDone(\'/admin_permission\'); return false;" class="blue-button-30" id="done">';
	}

	public function linkToSave($object, $params) {
		return '<li class="sf_admin_action_save"><button id="save" type="submit" class="blue-button-30">' . __($params['label'], array(), 'sf_admin') . '</button></li>';
	}
}
